<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%
    String user="";
    if(session.getAttribute("username")!=null){
      user=session.getAttribute("username").toString();
    }
 %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>编撰者工作平台</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link rel="stylesheet" type="text/css" href="source/css/worker.css"/>
    <link rel="stylesheet" type="text/css" href="source/css/bootstrap.css"/>
    <link rel="stylesheet" type="text/css" href="source/css/main.css"/>
    <link rel="stylesheet" type="text/css" href="source/css/reset.css"/>

  </head>
  
  <body>
    <div id="header">
  <div class="head-title"> <img src="source/img/main/logo-nju2.png" /> 中国人文社会科学术语编纂平台 </div>
  <ul class="nav-head clear">
    <li> <span class="span1">欢迎回来</span> </li>
    <li> <span id="username-show"><%=user %></span> <img width="1px" height="13px" src="source/img/main/nav_seperate_line.png"> </li>
    <li> <a id="logout" href="">注销</a> <img width="1px" height="13px" src="source/img/main/nav_seperate_line.png"> </li>
    <li> <a href="editAccount.jsp" target="_blank">修改密码</a></li>
  </ul>
</div>

<div class="panel panel-default panel-width">
  <div class="panel-heading">
    <h3 class="panel-title">任务分配状况</h3>
  </div>
  <div class="panel-body">
    <form class="form-inline" role="form">
      
      <div class="pull-left">
                    <label>您的任务是：</label>
                  </div>
        <div class="form-group task_asign" id="compilertaskdetail">
        
        </div>
    </form>
  </div>
</div>
<div class="panel panel-default panel-width">
 <div class="panel-heading panel-heading2">
    <div class="title2">任务完成情况</div>
      <div class="form-group refresh">
          <button type="submit" class="btn btn-default" id="refrush1"><b>刷新</b></button>
        </div>
  </div>
  <div class="panel-body">
    <div class="work"> <span class="label label-success">已完成</span>
      <div class="progress">
        <div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="2" aria-valuemin="0" aria-valuemax="100" style="width: 0%" id="process1">0%</div>
      </div>
      <span class="label label-warning">存在疑问</span>
      <div class="progress">
        <div class="progress-bar progress-bar-warning" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 0%" id="process2">0%</div>
      </div>
      <span class="label label-danger">&nbsp;&nbsp;未完成&nbsp;</span>
      <div class="progress">
        <div class="progress-bar progress-bar-danger" role="progressbar" aria-valuenow="80" aria-valuemin="0" aria-valuemax="100" style="width: 0%" id="process3">0%</div>
      </div>
      <div class="progress">
        <div class="progress-bar progress-bar-success" style="width: 33.3%" id="process4">*条</div>
        <div class="progress-bar progress-bar-warning" style="width: 33.3%" id="process5">*条</div>
        <div class="progress-bar progress-bar-danger" style="width: 33.3%" id="process6"> *条</div>
      </div>
    </div>
    <div class="check"> <span class="label label-success">&nbsp;&nbsp;审查通过&nbsp;&nbsp;</span>
      <div class="progress">
        <div class="progress-bar progress-bar-success" role="progressbar" aria-valuenow="2" aria-valuemin="0" aria-valuemax="100" style="width: 0%" id="process7">0%</div>
      </div>
      <span class="label label-danger">审查未通过</span>
      <div class="progress">
        <div class="progress-bar progress-bar-danger" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 0%" id="process8">0%</div>
      </div>
      <span class="label label-warning">&nbsp;&nbsp;&nbsp;未审查&nbsp;&nbsp;&nbsp;</span>
      <div class="progress">
        <div class="progress-bar progress-bar-warning" role="progressbar" aria-valuenow="80" aria-valuemin="0" aria-valuemax="100" style="width: 0%" id="process9">0%</div>
      </div>
      <div class="progress">
        <div class="progress-bar progress-bar-success" style="width: 33.3%" id="process10"> *条 </div>
        <div class="progress-bar progress-bar-danger" style="width: 33.3%" id="process11"> *条 </div>
        <div class="progress-bar progress-bar-warning" style="width: 33.3%" id="process12"> *条 </div>
      </div>
    </div>
  </div>
</div>
<div class="panel panel-default panel-width">
  <div class="panel-heading panel-heading2">
    <div class="title2">词条编撰</div>
    <div class="form-group refresh">
          <button type="submit" class="btn btn-default" id="refrush2"><b>刷新</b></button>
        </div>
    <div class="form-group btn-right2">
      <b><a href="http://219.219.114.100/WEBChinEngDictionary/Default.aspx" target="_blank">库内资源检索</a></b>
    </div>
  </div>
  <div class="panel-body">
    <div class="panel panel-default words">
      <ul class="nav nav-tabs" role="tablist" id="myTab">
        <li class="active"><a href="#finished" role="tab" data-toggle="tab">已完成</a></li>
        <li><a href="#doubt" role="tab" data-toggle="tab">存在疑问</a></li>
        <li><a href="#unfinished" role="tab" data-toggle="tab">未完成</a></li>
        <li><a href="#unpass" role="tab" data-toggle="tab">未通过</a></li>
        <li><a href="#uncheck" role="tab" data-toggle="tab">未审查</a></li>
      </ul>
      <div class="tab-content">
        <div class="tab-pane active" id="finished"></div>
        <div class="tab-pane" id="doubt"></div>
        <div class="tab-pane" id="unfinished"></div>
        <div class="tab-pane" id="unpass"></div>
        <div class="tab-pane" id="uncheck"></div>
      </div>
    </div>
    <div class="panel panel-default workspace"> 
      <!-- Default panel contents -->
      <div class="panel-heading"><span id="chosenWords">
        <p>词条 </p>
        </span>
        <div class="form-group save_edit">
          <button type="submit" class="btn btn-primary" id="save_edit"><b>保存</b></button>
        </div>
      </div>
      <div>
        <form class="form-horizontal" role="form">
          <div class="panel panel-default work_space">
            <ul class="nav nav-tabs" role="tablist" id="myTab">
              <li class="active"><a href="#basic" role="tab" data-toggle="tab">基本信息</a></li>
              <li><a href="#context" role="tab" data-toggle="tab">语境信息</a></li>
              <li><a href="#match" role="tab" data-toggle="tab">搭配信息</a></li>
              <li><a href="#refer" role="tab" data-toggle="tab">参见信息</a></li>
              <li><a href="#manage" role="tab" data-toggle="tab">管理信息</a></li>
            </ul>
            <div class="tab-content">
              <div class="tab-pane active" id="basic">
                <div class="form-group">
                  <div class="pull-left">
                    <label for="term-subject" >学&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;科：</label>
                  </div>
                  <div  class="pull-right input-length">
                    <input type="text" class="form-control input-sm" id="term-subject" placeholder="Enter Subject Field" readonly>
                  </div>
                </div>
                <div class="form-group">
                  <div class="pull-left">
                    <label for="id_word" >条目编号：</label>
                  </div>
                  <div  class="pull-right input-length">
                    <input type="text" class="form-control input-sm" id="id_term" placeholder="Enter Number" readonly>
                  </div>
                </div>
                <div class="form-group">
                  <div class="pull-left">
                    <label for="id_word" >汉语术语：</label>
                  </div>
                  <div  class="pull-right input-length">
                    <input type="text" class="form-control input-sm " id="term-chi" placeholder="Enter Word" readonly>
                  </div>
                </div>
                <div class="form-group">
                  <div class="pull-left">
                    <label for="word-class" >词&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;性：</label>
                  </div>
                  <div  class="pull-right input-length">
                    <input type="text" class="form-control input-sm " id="word-class" placeholder="Enter Grammatical Category">
                  </div>
                </div>
                <div class="form-group">
                  <div class="pull-left">
                    <label for="normalize" >名词委推荐术语：</label>
                  </div>
                  <div  class="pull-right input-length2">
                    <input type="text" class="form-control input-sm" id="recommendName" placeholder="Enter RecommendWord" >
                  </div>
                </div>
                <div class="form-group">
                  <div class="pull-left">
                    <label for="normalize" >名词委推荐译名：</label>
                  </div>
                  <div  class="pull-right input-length2">
                    <input type="text" class="form-control input-sm" id="recommendTrans" placeholder="Enter RecommendTrans" >
                  </div>
                </div>
              </div>
              <div class="tab-pane" id="context">
                <div class="form-group">
                  <div class="form-group">
                    <div class="pull-left">
                      <label for="term-eng" >英文对应术语1：</label>
                    </div>
                    <div  class="pull-right input-length">
                      <input type="text" class="form-control input-sm" id="term-eng1" placeholder="Enter Equivalent in English">
                    </div>
                  </div>
                  <div class="form-group">
                    <div class="pull-left">
                      <label for="term-frequence" >使&nbsp;&nbsp;用&nbsp;&nbsp;频&nbsp;&nbsp;率&nbsp;&nbsp;：</label>
                    </div>
                    <div  class="pull-right input-length">
                      <input type="text" class="form-control input-sm " id="term-frequen1" placeholder="Enter Frequence">
                    </div>
                  </div>
                  <div class="form-group">
                    <div class="pull-left">
                      <label for="chi_context1">
                      <h3>汉英语境信息<small>&nbsp;&nbsp;汉语语境</small>：</h3>
                      </label>
                    </div>
                    <textarea rows="4" class="textarea" id="chi_context1">
            </textarea>
                  </div>
                  <div class="form-group">
                    <div class="pull-left">
                      <label for="eng_context1">
                      <h3>汉英语境信息<small>&nbsp;&nbsp;英语语境</small>：</h3>
                      </label>
                    </div>
                    <textarea rows="4" class="textarea"id="eng_context1">
            </textarea>
                  </div>
                </div>
                <div class="form-group">
                  <div class="form-group">
                    <div class="pull-left">
                      <label for="term-eng" >英文对应术语2：</label>
                    </div>
                    <div  class="pull-right input-length">
                      <input type="text" class="form-control input-sm" id="term-eng2" placeholder="Enter Equivalent in English">
                    </div>
                  </div>
                  <div class="form-group">
                    <div class="pull-left">
                      <label for="term-frequence" >使&nbsp;&nbsp;用&nbsp;&nbsp;频&nbsp;&nbsp;率&nbsp;&nbsp;：</label>
                    </div>
                    <div  class="pull-right input-length">
                      <input type="text" class="form-control input-sm " id="term-frequen2" placeholder="Enter Frequence">
                    </div>
                  </div>
                  <div class="form-group">
                    <div class="pull-left">
                      <label for="chi_context1">
                      <h3>汉英语境信息<small>&nbsp;&nbsp;汉语语境</small>：</h3>
                      </label>
                    </div>
                    <textarea rows="4" class="textarea" id="chi_context2">
            </textarea>
                  </div>
                  <div class="form-group">
                    <div class="pull-left">
                      <label for="eng_context1">
                      <h3>汉英语境信息<small>&nbsp;&nbsp;英语语境</small>：</h3>
                      </label>
                    </div>
                    <textarea rows="4" class="textarea"id="eng_context2">
            </textarea>
                  </div>
                </div>
                <div class="form-group">
                  <div class="form-group">
                    <div class="pull-left">
                      <label for="term-eng" >英文对应术语3：</label>
                    </div>
                    <div  class="pull-right input-length">
                      <input type="text" class="form-control input-sm" id="term-eng3" placeholder="Enter Equivalent in English" >
                    </div>
                  </div>
                  <div class="form-group">
                    <div class="pull-left">
                      <label for="term-frequence" >使&nbsp;&nbsp;用&nbsp;&nbsp;频&nbsp;&nbsp;率&nbsp;&nbsp;：</label>
                    </div>
                    <div  class="pull-right input-length">
                      <input type="text" class="form-control input-sm " id="term-frequen3" placeholder="Enter Frequence" >
                    </div>
                  </div>
                  <div class="form-group">
                    <div class="pull-left">
                      <label for="chi_context1">
                      <h3>汉英语境信息<small>&nbsp;&nbsp;汉语语境</small>：</h3>
                      </label>
                    </div>
                    <textarea rows="4" class="textarea" id="chi_context3">
            </textarea>
                  </div>
                  <div class="form-group">
                    <div class="pull-left">
                      <label for="eng_context1">
                      <h3>汉英语境信息<small>&nbsp;&nbsp;英语语境</small>：</h3>
                      </label>
                    </div>
                    <textarea rows="4" class="textarea"id="eng_context3">
            </textarea>
                  </div>
                </div>
                <div class="form-group">
                  <div class="form-group">
                    <div class="pull-left">
                      <label for="term-eng" >英文对应术语4：</label>
                    </div>
                    <div  class="pull-right input-length">
                      <input type="text" class="form-control input-sm" id="term-eng4" placeholder="Enter Equivalent in English" >
                    </div>
                  </div>
                  <div class="form-group">
                    <div class="pull-left">
                      <label for="term-frequence" >使&nbsp;&nbsp;用&nbsp;&nbsp;频&nbsp;&nbsp;率&nbsp;&nbsp;：</label>
                    </div>
                    <div  class="pull-right input-length">
                      <input type="text" class="form-control input-sm " id="term-frequen4" placeholder="Enter Frequence">
                    </div>
                  </div>
                  <div class="form-group">
                    <div class="pull-left">
                      <label for="chi_context1">
                      <h3>汉英语境信息<small>&nbsp;&nbsp;汉语语境</small>：</h3>
                      </label>
                    </div>
                    <textarea rows="4" class="textarea" id="chi_context4">
            </textarea>
                  </div>
                  <div class="form-group">
                    <div class="pull-left">
                      <label for="eng_context1">
                      <h3>汉英语境信息<small>&nbsp;&nbsp;英语语境</small>：</h3>
                      </label>
                    </div>
                    <textarea rows="4" class="textarea"id="eng_context4">
            </textarea>
                  </div>
                </div>
                <div class="form-group">
                  <div class="form-group">
                    <div class="pull-left">
                      <label for="term-eng" >英文对应术语5：</label>
                    </div>
                    <div  class="pull-right input-length">
                      <input type="text" class="form-control input-sm" id="term-eng5" placeholder="Enter Equivalent in English" >
                    </div>
                  </div>
                  <div class="form-group">
                    <div class="pull-left">
                      <label for="term-frequence" >使&nbsp;&nbsp;用&nbsp;&nbsp;频&nbsp;&nbsp;率&nbsp;&nbsp;：</label>
                    </div>
                    <div  class="pull-right input-length">
                      <input type="text" class="form-control input-sm " id="term-frequen5" placeholder="Enter Frequence" >
                    </div>
                  </div>
                  <div class="form-group">
                    <div class="pull-left">
                      <label for="chi_context1">
                      <h3>汉英语境信息<small>&nbsp;&nbsp;汉语语境</small>：</h3>
                      </label>
                    </div>
                    <textarea rows="4" class="textarea" id="chi_context5">
            </textarea>
                  </div>
                  <div class="form-group">
                    <div class="pull-left">
                      <label for="eng_context1">
                      <h3>汉英语境信息<small>&nbsp;&nbsp;英语语境</small>：</h3>
                      </label>
                    </div>
                    <textarea rows="4" class="textarea"id="eng_context5">
            </textarea>
                  </div>
                </div>
              </div>
              <div class="tab-pane" id="match">
                <div class="form-group">
                  <div class="pull-left">
                    <label for="antonym" >术语词组1：</label>
                  </div>
                  <div  class="pull-right input-length">
                    <input type="text" class="form-control input-sm " id="cizu1" placeholder="Enter Words">
                  </div>
                </div>
                <div class="form-group">
                  <div class="pull-left">
                    <label for="antonym" >英语翻译1：</label>
                  </div>
                  <div  class="pull-right input-length">
                    <input type="text" class="form-control input-sm " id="translation1" placeholder="Enter Translation" >
                  </div>
                </div>
                <div class="form-group">
                  <div class="pull-left">
                    <label for="antonym" >术语词组2：</label>
                  </div>
                  <div  class="pull-right input-length">
                    <input type="text" class="form-control input-sm " id="cizu2" placeholder="Enter Words" >
                  </div>
                </div>
                <div class="form-group">
                  <div class="pull-left">
                    <label for="antonym" >英语翻译2：</label>
                  </div>
                  <div  class="pull-right input-length">
                    <input type="text" class="form-control input-sm " id="translation2" placeholder="Enter Translation" >
                  </div>
                </div>
                <div class="form-group">
                  <div class="pull-left">
                    <label for="antonym" >术语词组3：</label>
                  </div>
                  <div  class="pull-right input-length">
                    <input type="text" class="form-control input-sm " id="cizu3" placeholder="Enter Words" >
                  </div>
                </div>
                <div class="form-group">
                  <div class="pull-left">
                    <label for="antonym" >英语翻译3：</label>
                  </div>
                  <div  class="pull-right input-length">
                    <input type="text" class="form-control input-sm " id="translation3" placeholder="Enter Translation">
                  </div>
                </div>
                <div class="form-group">
                  <div class="pull-left">
                    <label for="antonym" >术语词组4：</label>
                  </div>
                  <div  class="pull-right input-length">
                    <input type="text" class="form-control input-sm " id="cizu4" placeholder="Enter Words">
                  </div>
                </div>
                <div class="form-group">
                  <div class="pull-left">
                    <label for="antonym" >英语翻译4：</label>
                  </div>
                  <div  class="pull-right input-length">
                    <input type="text" class="form-control input-sm " id="translation4" placeholder="Enter Translation">
                  </div>
                </div>
                <div class="form-group">
                  <div class="pull-left">
                    <label for="antonym" >术语词组5：</label>
                  </div>
                  <div  class="pull-right input-length">
                    <input type="text" class="form-control input-sm " id="cizu5" placeholder="Enter Words" >
                  </div>
                </div>
                <div class="form-group">
                  <div class="pull-left">
                    <label for="antonym" >英语翻译5：</label>
                  </div>
                  <div  class="pull-right input-length">
                    <input type="text" class="form-control input-sm " id="translation5" placeholder="Enter Translation" >
                  </div>
                </div>
              </div>
              <div class="tab-pane" id="refer">
                <div class="form-group">
                  <div class="pull-left">
                    <label for="synonyms" >同义术语1：</label>
                  </div>
                  <div  class="pull-right input-length">
                    <input type="text" class="form-control input-sm " id="synonym1" placeholder="Enter Synonym">
                  </div>
                </div>
                <div class="form-group">
                  <div class="pull-left">
                    <label for="synonyms" >同义术语2：</label>
                  </div>
                  <div  class="pull-right input-length">
                    <input type="text" class="form-control input-sm " id="synonym2" placeholder="Enter Synonym" >
                  </div>
                </div>
                <div class="form-group">
                  <div class="pull-left">
                    <label for="synonyms" >同义术语3：</label>
                  </div>
                  <div  class="pull-right input-length">
                    <input type="text" class="form-control input-sm " id="synonym3" placeholder="Enter Synonym" >
                  </div>
                </div>
                <div class="form-group">
                  <div class="pull-left">
                    <label for="synonyms" >同义术语4：</label>
                  </div>
                  <div  class="pull-right input-length">
                    <input type="text" class="form-control input-sm " id="synonym4" placeholder="Enter Synonym">
                  </div>
                </div>
                <div class="form-group">
                  <div class="pull-left">
                    <label for="synonyms" >同义术语5：</label>
                  </div>
                  <div  class="pull-right input-length">
                    <input type="text" class="form-control input-sm " id="synonym5" placeholder="Enter Synonym">
                  </div>
                </div>
                <div class="form-group">
                  <div class="pull-left">
                    <label for="antonym" >反义术语1：</label>
                  </div>
                  <div  class="pull-right input-length">
                    <input type="text" class="form-control input-sm " id="antonym1" placeholder="Enter Antonym">
                  </div>
                </div>
                <div class="form-group">
                  <div class="pull-left">
                    <label for="antonym" >反义术语2：</label>
                  </div>
                  <div  class="pull-right input-length">
                    <input type="text" class="form-control input-sm " id="antonym2" placeholder="Enter Antonym">
                  </div>
                </div>
                <div class="form-group">
                  <div class="pull-left">
                    <label for="antonym" >反义术语3：</label>
                  </div>
                  <div  class="pull-right input-length">
                    <input type="text" class="form-control input-sm " id="antonym3" placeholder="Enter Antonym">
                  </div>
                </div>
                <div class="form-group">
                  <div class="pull-left">
                    <label for="antonym" >反义术语4：</label>
                  </div>
                  <div  class="pull-right input-length">
                    <input type="text" class="form-control input-sm " id="antonym4" placeholder="Enter Antonym">
                  </div>
                </div>
                <div class="form-group">
                  <div class="pull-left">
                    <label for="antonym" >反义术语5：</label>
                  </div>
                  <div  class="pull-right input-length">
                    <input type="text" class="form-control input-sm " id="antonym5" placeholder="Enter Antonym">
                  </div>
                </div>
                <div class="form-group">
                  <div class="pull-left">
                    <label for="antonym" >库内关联术语：</label>
                  </div>
                  <div  class="pull-right input-length2">
                    <input type="text" class="form-control input-sm " id="related" placeholder="Enter ReletedWord">
                  </div>
                </div>
              </div>
              <div class="tab-pane" id="manage">
                <div class="form-group">
                  <div class="pull-left">
                    <label for="personInCharge" >责&nbsp;&nbsp;任&nbsp;&nbsp;人：</label>
                  </div>
                  <div  class="pull-right input-length">
                    <input type="text" class="form-control input-sm " id="personInCharge" placeholder="Enter Compiler" readonly>
                  </div>
                </div>
                <div class="form-group">
                  <div class="pull-left">
                    <label for="insertdate" >编录日期：</label>
                  </div>
                  <div  class="pull-right input-length">
                    <input type="text" class="form-control input-sm" id="insertdate" placeholder="系统自动添加" readonly>
                  </div>
                </div>
                <div class="form-group">
                  <div class="pull-left">
                    <label for="insertdate" >完成状况：</label>
                  </div>
                  <div  class="pull-right input-length">
                    <select class="form-control input-sm" id="term_situation">
                      <option value="未完成">未完成</option>
                      <option value="已完成">已完成</option>
                      <option value="存在疑问">存在疑问</option>
                    </select>
                  </div>
                </div>
                <div class="form-group">
                  <div class="pull-left">
                    <label for="is_pass" >是否审查通过：</label>
                  </div>
                  <div  class="pull-right input-length2">
                    <input type="text" class="form-control input-sm" id="is_pass" placeholder="默认为未审查" readonly>
                  </div>
                </div>
                <div class="form-group">
                  <div class="pull-left">
                    <label for="updatedate" >审查建议：</label>
                  </div>
                  <textarea rows="4" class="textarea1" id="updateRemark" placeholder="由审查人填写！">
            </textarea>
                </div>
                <div class="form-group">
                  <div class="pull-left">
                    <label for="updatedate" >更新日期：</label>
                  </div>
                  <div  class="pull-right input-length">
                    <input type="text" class="form-control input-sm " id="updatedate" placeholder="系统自动添加" readonly>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </form>
      </div>
    </div>
  </div>
</div>
<div id="footer">
  <p>南京大学双语词典研究中心 版权所有</p>
  <p>南京市仙林大道163号南京大学仙林校区 邮编：210023</p>
  <p>Copyright © 2012-2013 bdrc.nju.edu.cn , All Rights Reserved.</p>
</div>
</div>
    <script src="source/js/jquery-1.11.0.js"></script> 
    <script src="source/js/bootstrap.js"></script> 
    <script type="text/javascript" src="source/js/login-confirm.js"></script>
    <script type="text/javascript" src="source/js/worker.js"></script>
    <script type="text/javascript" src="source/js/json2.js"></script>
  </body>
</html>
